package com.qst.crop.dao;

import com.qst.crop.entity.SellPurchase;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface SellPurchaseDao {
    @Insert("insert into tb_sell_purchase(purchase_id, own_name, purchase_type, unin_pricee, sum_price, address, purchase_status, create_time, update_time, order_id) " +
            "VALUES(#{purchaseId},#{ownName},#{purchaseType},#{uninPricee},#{sumPrice},#{address},#{purchaseStatus},#{createTime},#{updateTime},#{orderId}) ")
    void commit(SellPurchase sellPurchase);
}
